package ch.zbw.timeline.server.domain;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;


public interface Server extends Remote {

	public String sayHello() throws RemoteException;
	
	public List<Role> getAllRoles() throws RemoteException;
	
	public User authenticate(String userName, String password, Role role) throws RemoteException;
	
}
